﻿namespace UltimateNavigationFramework.Loaders
{
    public class ViewInfo : IViewInfo
    {
        #region Constructors
        /// <summary>
        /// Initialises an empty instance
        /// </summary>
        public ViewInfo()
            : this(null, null)
        {

        }

        /// <summary>
        /// Initialises a view info object with viewname and module name provided
        /// </summary>
        /// <param name="viewName"></param>
        /// <param name="moduleName"></param>
        public ViewInfo(string viewName, string moduleName)
        {
            this.ViewName = viewName;
            this.ModuleName = moduleName;
        } 
        #endregion

        #region Properties
        /// <summary>
        /// Gets and sets the name of the view
        /// </summary>
        public string ViewName { get; set; }

        /// <summary>
        /// Gets and sets the module type info
        /// </summary>
        public string ModuleName { get; set; } 
        #endregion
    }
}
